package com.itheima6;

public class Test {
    public static void main(String[] args) {
        //Teacher teacher = new Teacher("123","张三","23","1990-01-01");

        Person person = new Person();
        person.setId("123");
        person.setName("张三");
        person.setAge("23");
        person.setBirthday("1990-01-01");

        String id = person.toString();

        System.out.println(id);


    }
}
